package backend.project.gym_management.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CoachAddCourseParam {
    @ApiModelProperty(value = "教练id", required = true, example = "100003")
    private Long eid;
    @ApiModelProperty(value = "课程名称", required = true, example = "lutie")
    private String cname;//课程名称
    @ApiModelProperty(value = "课程报名开始时间", required = true, example = "2024-04-25")
    @JsonFormat(pattern =  "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private Date stime;//课程报名开始时间
    @ApiModelProperty(value = "课程报名结束时间", required = true, example = "2024-08-25")
    @JsonFormat(pattern =  "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private Date etime;//课程报名结束时间
    @ApiModelProperty(value = "课时数", required = true, example = "256")
    private Integer classHours;//课时数
    @ApiModelProperty(value = "课程价格", required = true, example = "4000.0")
    private Double fullPrice;//课程价格
}
